<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>dowhile</title>
</head>
<body>
<script>

    // let i = 0;
    // do{
    //     console.log(i)
    //     i++
    // }while(i<=5)


    /*输出乘法口诀表*/
    let i = 1;
    do{
        let j = 1;
        let str = ""
        do{
            str += j + "X" + i + "=" + (i*j) + "\t"
            j++
        }while(j<=i)
        console.log(str)
        i++;
    }while(i<=9)

</script>
</body>
</html>